package indi.zhifa.recipe.bailan.framework.auth.impl.dao.service;

import indi.zhifa.recipe.bailan.framework.auth.impl.entity.po.RelUserRoleEntity;
import indi.zhifa.recipe.bailan.framework.mysql.service.IZfDbService;

import java.util.List;

/**
 * <p>
 * 角色关联表 服务类
 * </p>
 *
 * @author 织法
 * @since 2022-12-19
 */
public interface IRelUserRoleDbService extends IZfDbService<RelUserRoleEntity> {
    List<RelUserRoleEntity> listByUserId(Long pUserId);
    List<RelUserRoleEntity> edit(Long pUserId, List<RelUserRoleEntity> relRoles);
    boolean deleteByUserId(Long pUserId);
}
